﻿using JoceLinItemDemo.Application.UserInfoMessage.Dto;
using JoceLinItemDemo.Domain.UserInfoMessage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JoceLinItemDemo.Application.UserInfoMessage
{
    public interface IUserInfoMessageAppService
    {
        //添加用户信息
        Task<UserInfoMe> InsertUserInfoManager(UserInfoMessageDto userInfoMessageDto);
        //删除用户信息
        Task DeleteUserInfoManager(string Id);
        //批量删除用户信息
        Task DeleteUserInfoManagerByAny(string Ids); 
        //查看用户信息
        dynamic FindUserInfoManager(string Id);
        //修改用户信息
        Task<bool> UpdateUserInfoManager(UserInfoMessageDto userInfoMessageDto);
        //分页显示用户信息
        dynamic GetUserInfoManagerByPage(int pageIndex, int pageSize); 
    }
}
